import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';

export default async function a017(fd: IFeidaoAiBrowserComponent) {
	// todo
	const chkAll=fd.data.node.querySelector<HTMLInputElement>('[data-id="all2"]');
	const chk=chkAll.checked;
	const chkList=fd.data.node.querySelectorAll<HTMLInputElement>('[data-id="b_del"]');
	const lists=Array.from(chkList) as HTMLInputElement[];
	lists.forEach((value) => {
		value.checked = chk;
	});
}
